package cn.wfu.rlrjds.app.log.service.ipml;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import cn.wfu.rlrjds.app.log.dao.ILogDao;
import cn.wfu.rlrjds.app.log.domain.Log;
import cn.wfu.rlrjds.app.log.service.ILogService;

@Service
@Transactional(readOnly = true)
public class LogServiceImpl implements ILogService {

	@Autowired
	private ILogDao logDao;

	@Override
	@Transactional(readOnly = false, isolation = Isolation.DEFAULT, propagation = Propagation.REQUIRED)
	public void saveLog(Log log) {
		// TODO Auto-generated method stub
		this.logDao.save(log);
	}

}